FROM openjdk:8-jre-alpine
MAINTAINER xiaodao
LABEL version="1.0" description="认证服务器" name="dm-auth" author="xiaodao"
VOLUME /tmp
ADD target/dm-auth-1.0.0.jar app.jar
#RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
EXPOSE 9090